home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
Tools
/
mkid
/
getsFF.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-05-03
|
418b
|
29 lines
/* Copyright (c) 1986, Greg McGary */
static char sccsid[] = "@(#)getsFF.c 1.1 86/10/09";
#include <stdio.h>
int getsFF();
void skipFF();
int
getsFF(buf0, inFILE)
char *buf0;
register FILE *inFILE;
{
register char *buf = buf0;
while (((*buf++ = getc(inFILE)) & 0xff) != 0xff)
;
return (buf - buf0 - 1);
}
void
skipFF(inFILE)
register FILE *inFILE;
{
while ((getc(inFILE) & 0xff) != 0xff)
;
return;
}